package top.vanchor.myblog2back.service;

import top.vanchor.myblog2back.entity.BlogChat;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ding
 * @since 2022-01-11
 */
public interface IBlogChatService extends IService<BlogChat> {

    int addMsg(BlogChat blogChat);

    List<BlogChat> getChatsByRoomId(String sid);

    List<BlogChat> getChatsMoreByRoomIdAndlastChatId(String sid, Integer chatId);
}
